<?php
class Model@model_name@ extends Model {
	public function get@module_name@($@module_primary_key@) {
		$query = $this->db->query("SELECT DISTINCT * FROM `" . DB_PREFIX . "@module_table_name@` WHERE @module_primary_key@ = '" . (int)$@module_primary_key@ . "'");
	
		return $query->row;
	}
	
	public function get@module_name@s() {
		$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "@module_table_name@` ");
		
		return $query->rows;
	}	
}
?>